home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 1093 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.4 KB

  1. Path: fido.asd.sgi.com!austern
  2. From: Rich Paul <linguist@cyberspy.com>
  3. Newsgroups: comp.std.c++
  4. Subject: Re: char_traits<T> return values
  5. Date: 15 Apr 1996 09:37:35 PDT
  6. Organization: Technical Resource Connection
  7. Approved: austern@isolde.mti.sgi.com
  8. Message-ID: <317253FB.1DB7@cyberspy.com>
  9. References: <316DB8A8.2556@cyberspy.com> <316F5716.53ABC674@cantrip.org>
  10. NNTP-Posting-Host: isolde.mti.sgi.com
  11. X-Original-Date: Mon, 15 Apr 1996 09:49:47 -0400
  12. X-Mailer: Mozilla 2.01Gold (WinNT; I)
  13. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  14.     iQBVAwUBMXJ7UUy4NqrwXLNJAQFq5AH9GQys0rK9abOJk7qhWpZ2acZvbW1SXBBG
  15.     WurwX4xOEMFFOmiTGOzWB/dwredGFHQyjSQEXXgfp4z6Y6eUoXXm4g==
  16.     =jWoS
  17. Originator: austern@isolde.mti.sgi.com
  18.  
  19. Nathan Myers <ncm@cantrip.org> wrote:
  20. > It only matters when you convert back via c_str(); then, of course,
  21. > to C the string will look shorter than it is.  Tough.
  22.  
  23. Aha ... well, that solves the length cacheing problem ... given 
  24. that operator[] could insert an eos() I've been avoiding keeping 
  25. track of string length ... well that's a wrinkle.
  26.  
  27. Thanks alot fo the input!
  28. ---
  29. [ comp.std.c++ is moderated.  To submit articles: Try just posting with your 
  30.                 newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  31.   comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  32.   Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  33.   Comments? mailto:std-c++-request@ncar.ucar.edu 
  34. ]
  35.